﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Collections;
using System.Collections.Specialized;

namespace SMBL
{
    namespace Interface.Database
    {
        /// <summary>
        /// Interface Producer
        /// Used to support the producer
        /// @Author: Push
        /// </summary>
        public interface IProducer
        {
            /// <summary>
            /// Producer without any parameters
            /// only need the producer name
            /// </summary>
            /// <param name="ProducerName"></param>
            /// <returns>A dataset</returns>
            DataSet Producer(String ProducerName);

            /// <summary>
            /// Producer with parameters and also the value
            /// </summary>
            /// <param name="ProducerName">Producer Name</param>
            /// <param name="ParameterValue">A list of the parameters</param>
            /// <returns></returns>
            DataSet Producer(String ProducerName, List<KeyValuePair<String, Object>> ParameterValue);
        }
    }
}